import json 
a = """{
    "action": {
        "add": [
            {
                "827322": {"value": "Asdfa", "name": "Color"}, 
                "827323": {"value": "Asdf", "name": "Size"}
            }
        ],
        "delete": [4267371],
        "mod": [
            {
                "827322": {"value": "Gary", "name": "Color", "value_id": 2817378},
                "827323": {"value": "Lwerwe", "name": "Size", "value_id": 2817381},
                "sku_id": 4267375
            }
        ],
        "new": []
    },
    "attr":[{"name": "Color", "attr_id": "827322"}, {"name": "Size", "attr_id": "827323"}],
    "changeAttr": false,
    "product_no": "CWC000000122N"
}"""


action = json.loads(a)